package com.xiaolin.designmode.iterator;

/**
 * @ClassName Person
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/11/8
 * @Version 1.0
 */
class Person{
    private int age;
    private String name;
    public Person(int age,String name){
        this.age=age;
        this.name=name;
    }

    public int getAge() {
        return age;
    }

    public String getName() {
        return name;
    }
}
